//
//  UIButton+MyButton.h
//  你来猜
//
//  Created by zero on 16/12/18.
//  Copyright © 2016年 zero. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIButton (ZButton)


#pragma mark
#pragma mark - 主方法
- (instancetype)initWithNormalImageName:(NSString *)normalImageName
                andHighLightedImageName:(NSString *)highLightedName
                   andSelectedImageName:(NSString *)selectedName
                               andImage:(NSString *)imageName
                   andImageSelectedName:(NSString *)imageSelected
                               andTitle:(NSString *)title
                               andFrame:(CGRect)frame;


#pragma mark
#pragma mark - 类主方法
+ (instancetype)z_buttonWithNormalImageName:(NSString *)normalImageName
                    andHighLightedImageName:(NSString *)highLightedName
                       andSelectedImageName:(NSString *)selectedName
                                   andImage:(NSString *)imageName
                       andImageSelectedName:(NSString *)imageSelected
                                   andTitle:(NSString *)title
                                   andFrame:(CGRect)frame;

#pragma mark
#pragma mark - 分方法(文字,backgroundImage三种状态,位置大小)
+ (instancetype)z_buttonWithNormalImageName:(NSString *)normalImageName andHighLightedImageName:(NSString *)highLightedName andSelectedImageName:(NSString *)selectedName  andTitle:(NSString *)title andFrame:(CGRect)frame;

#pragma mark
#pragma mark - 分方法(文字,image三种状态,位置大小)
+ (instancetype)z_buttonWithImage:(NSString *)imageName andImageSelectedName:(NSString *)imageSelected andTitle:(NSString *)title andFrame:(CGRect)frame;


@end
